package com.dingwen.treasure.kettle.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dingwen.treasure.kettle.dto.query.TaskInfoQueryDto;
import com.dingwen.treasure.kettle.entity.TaskInfo;
import com.dingwen.treasure.kettle.vo.TaskInfoVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * TaskInfoMapper
 *
 * @author dingwen
 * @date 2022/08/22
 */
@Repository
public interface TaskInfoMapper extends BaseMapper<TaskInfo> {
    /**
     * 分页查询任务信息
     *
     * @param page 页面
     * @param dto  dto
     * @return {@link E}
     */
    <E extends IPage<TaskInfoVo>> E getTaskInfoPage(@Param("page") E page, @Param("dto") TaskInfoQueryDto dto);
}




